package com.itqf.pojo;

import java.io.Serializable;

/**
 * projectName: gpshop
 *
 * @author: 赵伟风
 * time: 2021/7/20 14:20
 * description:
 */
public class User implements Serializable {

    private static final Long serialVersionUID = 1L;

    private int uId;
    private String uAccount;
    private String uPassword;
    private String uEmail;
    private String uSex;


    /**
     * 唯一标识,自动登录验证账号的唯一标识!
     */
    private String token = null;

    /**
     * 激活码的唯一标识
     */
    private String uToken;
    /**
     * 用户激活状态!
     * 0 未激活 默认值
     * 1 激活
     */
    private int uState;
    /**
     * 用户角色的状态
     * 0 普通用户 1 管理员
     */
    private int uRole;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public int getuId() {
        return uId;
    }

    public void setuId(int uId) {
        this.uId = uId;
    }

    public String getuAccount() {
        return uAccount;
    }

    public void setuAccount(String uAccount) {
        this.uAccount = uAccount;
    }

    public String getuPassword() {
        return uPassword;
    }

    public void setuPassword(String uPassword) {
        this.uPassword = uPassword;
    }

    public String getuEmail() {
        return uEmail;
    }

    public void setuEmail(String uEmail) {
        this.uEmail = uEmail;
    }

    public String getuSex() {
        return uSex;
    }

    public void setuSex(String uSex) {
        this.uSex = uSex;
    }

    public String getuToken() {
        return uToken;
    }

    public void setuToken(String uToken) {
        this.uToken = uToken;
    }

    public int getuState() {
        return uState;
    }

    public void setuState(int uState) {
        this.uState = uState;
    }

    public int getuRole() {
        return uRole;
    }

    public void setuRole(int uRole) {
        this.uRole = uRole;
    }
}
